]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/keyboard: Drop return value from signal handler
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 13 Jan 2026 13:11:37 +0000 (14:11 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 19 Jan 2026 16:28:44 +0000 (16:28 +0000)
The MetaDisplay::modifiers-accelerator-activated signal no longer
requires a boolean return value.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4020>

js/ui/status/keyboard.js

index fe2dc67466b3fb7e125f577bf3344ecd5bd89404..600a1cf578b4be8f47c21f1bfdec6526077e44f7 100644 (file)
@@ -409,7 +409,7 @@ export class InputSourceManager extends Signals.EventEmitter {
     _modifiersSwitcher() {
         const sourceIndexes = Object.keys(this._inputSources);
         if (sourceIndexes.length === 0)
-            return true;
+            return;
 
         let is = this._currentSource;
         if (!is)
@@ -423,7 +423,6 @@ export class InputSourceManager extends Signals.EventEmitter {
             nextIndex += 1;
 
         is.activate(true);
-        return true;
     }
 
     _switchInputSource(display, window, event, binding) {